﻿#define Expection

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Xml;
using UmcProvider.Controls;
using UmcProvider;

namespace ChinaTelecom.SmartPhone.Controls
{
#if Expection       //if reserve mode
    public interface ILabelExpection : IUmc
    {
        string Name { get; }
        bool Enabled { get; }
        Size Size { get; }
        Point Location { get; }
        string Text { get; }
        Color BackColor { get; }
        Font Font { get; }
        Color ForeColor { get; }
    }
    public interface ILabel : ILabelExtension, ILabelExpection { }
    [Designer(typeof(UmcDesigner<ILabel>))]
#else                  //if exclude mode
    //Add the Properties to be excluded here
    [ExcludeProperty]
    public interface ILabelExculde : IUmc
    {
    }
    [Designer(typeof(UmcDesigner<Label>))]
#endif
    [ToolboxBitmap(typeof(System.Windows.Forms.Label), "Label.bmp")]
    public sealed class Label : System.Windows.Forms.Label, ILabel
    {
    }

    //Add Extension Properties here , and Implement in Inheritance class
    public interface ILabelExtension
    {
    }

    //public interface ILabel : IControl { }
    public sealed class UmcLabel : DefaultConverter<UmcLabel, Label>, ILabel
    {


        #region Hidden
        public bool Enabled
        {
            get { throw new NotImplementedException(); }
        }

        public bool Visible
        {
            get { throw new NotImplementedException(); }
        }

        public System.Drawing.Size Size
        {
            get { throw new NotImplementedException(); }
        }

        public System.Drawing.Point Location
        {
            get { throw new NotImplementedException(); }
        }

        public string Text
        {
            get { throw new NotImplementedException(); }
        }

        public System.Drawing.Color BackColor
        {
            get { throw new NotImplementedException(); }
        }

        public System.Drawing.Font Font
        {
            get { throw new NotImplementedException(); }
        }

        public System.Drawing.Color ForeColor
        {
            get { throw new NotImplementedException(); }
        }

        public string Name
        {
            get { throw new NotImplementedException(); }
        }
        #endregion

    }
}
